/* 基础样式 */
/* 全局 section 样式 */


.fullscreen-hero,
.card-grid-section,
.timeline-section,
.team-showcase,
.contact-section
 {
    margin: 0 0; 
    max-width: 100%; 
    padding: 0 20px;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-overlay: rgba(0, 0, 0, 0.6);
}
.about-page{
        margin-top: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 全屏英雄区域 */
.fullscreen-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('images/flower.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.fullscreen-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}
/* 修改后的hero-story样式 - 全屏显示 */
.hero-story {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
    overflow-y: auto;
}

.fullscreen-hero:hover .hero-story {
    opacity: 1;
}

.hero-story h2 {
    color: var(--white);
    font-size: 1.8rem; /* 缩小标题字体 */
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
}

.hero-story p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem; /* 缩小正文字体 */
    line-height: 1.7;
    margin: 0 auto 1rem;
    text-align: center;
    max-width: 700px;
}

/* 调整原有hero-content的定位 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.fullscreen-hero:hover .hero-content {
    opacity: 0; /* 悬停时隐藏主标题 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-story h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-story p {
        font-size: 0.9rem;
        max-width: 90%;
    }
}

/* 调整原有hero-content的定位 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.fullscreen-hero:hover .hero-content {
    transform: translateY(-30%);
}

/* 确保标题和副标题在悬停时仍然可见 */
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.fullscreen-hero:hover .hero-content h1 {
    font-size: 3.5rem;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.fullscreen-hero:hover .subtitle {
    font-size: 1.3rem;
}

/* 不对称布局 */
.asymmetrical-section {
    display: flex;
    min-height: 500px;
}

.left-block, .right-block {
    flex: 1;
}

.content-block {
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-color: var(--light-bg);
}

.content-wrapper {
    max-width: 500px;
}

.image-block {
    /* 背景图将通过CSS设置 */
    background-size: cover;
    background-position: center;
}

/* 卡片网格 */
/* 修改后的卡片网格部分 - 白色遮罩版本 */
.card-grid-section {
    padding: 80px 5%;
    background: url('images/ace.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* 修改后的卡片网格部分 */
.card-grid-section {
    padding: 80px 5% 120px; /* 增加底部padding使背景下移 */
    background: url('images/ace.jpg') no-repeat center center;
    background-size: cover;
    background-position: center 30%; /* 背景图下移 */
    position: relative;
}

.card-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* 更轻的白色遮罩 */
    z-index: 1;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: #000; /* 改为纯黑色 */
    font-weight: 700; /* 加粗 */
    text-shadow: 0 2px 4px rgba(255,255,255,0.3); /* 添加白色阴影增强可读性 */
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6); /* 半透明白色背景 */
    backdrop-filter: blur(5px); /* 背景模糊效果 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* 半透明边框 */
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.8); /* 悬停时增加不透明度 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000; /* 黑色标题 */
}

.feature-card p {
    color: #333; /* 深灰色正文 */
    font-size: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-grid-section {
        padding: 60px 5% 100px;
        background-position: center 25%;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

/* 炫酷时间线样式 - 年份球居中版本 */
.timeline-section {
    position: relative;
    padding: 100px 5%;
    background: linear-gradient(
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.15)
    ), url('images/lightblue.jpg') center/cover;
    overflow: hidden;
}


.section-title {
    text-align: center;
    font-size: 3rem;
    color: #2c3e50; /* 改为深色文字 */
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(255,255,255,0.5); /* 白色阴影增强可读性 */
}

.fancy-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}
.timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #6D94F7, #4A7BDF); /* 新颜色渐变 */
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(109, 148, 247, 0.5); /* 匹配新颜色的阴影 */
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    z-index: 2;
}

/* 修改重点：确保年份球完美居中 */
.timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6D94F7, #4A7BDF); /* 新颜色渐变 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(109, 148, 247, 0.5); /* 匹配新颜色的阴影 */
    z-index: 3;
    border: 4px solid #fff;
}


.timeline-card {
    width: 45%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px; /* 为年份球留出空间 */
}

/* 左右交替布局保持不变 */
.timeline-item:nth-child(odd) .timeline-card {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-right: auto;
}

/* 图标位置调整 */
.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6195FF, #1047C7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: -30px;
}

/* 内容样式保持不变 */
/* 只修改四个标题和对应图标的颜色 */
.timeline-card h3 {
    color: #6D94F7; /* 修改标题颜色 */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #6D94F7; /* 修改图标背景色 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* 保留原有的图标位置设置 */
.timeline-item:nth-child(odd) .timeline-icon {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: -30px;
}

/* 保留所有其他原有样式不变 */

/* 悬停效果 */
.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(97, 149, 255, 0.3);
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.timeline-year {
    animation: float 3s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-path {
        left: 40px;
    }
    
    .timeline-year {
        left: 40px;
        transform: translate(0, -50%); /* 移动端调整 */
    }
    
    .timeline-card {
        width: 100%;
        margin-left: 80px !important;
    }
    
    .timeline-icon {
        left: -30px !important;
        right: auto !important;
    }
}
/* 团队展示部分 - 带背景图版本 */
.team-showcase {
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/lightblue.jpg') center/cover;
    z-index: 0;
}

.team-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); /* 半透明白色遮罩 */
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-member {
    text-align: center;
    flex: 0 1 300px;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.95);
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background-size: cover;
    background-position: center;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 2;
}

.team-member h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.member-role {
    color: #5a6a7a;
    font-size: 1.1rem;
    font-weight: 500; /* 加粗 */
    opacity: 0.8; /* 减淡 */
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .team-showcase {
        padding: 60px 5%;
    }
    
    .team-members {
        gap: 40px;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }
    
    .team-member {
        flex: 0 1 250px;
        padding: 25px;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 1rem;
    }
}
/* 联系表单 */
/* 联系我们部分 */
.contact-section {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/flower.jpg') center/cover;
    z-index: 0;
}

.contact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.contact-form {
    flex: 1;
    padding: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.contact-methods {
    width: 100%;
}

.contact-method {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.contact-method i {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.contact-method span {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 悬停交互效果 */
.contact-methods:hover .contact-method {
    opacity: 0.5;
    transform: scale(0.95);
}

.contact-methods:hover .contact-method:hover {
    opacity: 1;
    transform: scale(1.1);
}

.contact-method:hover span {
    color: #667eea;
    font-weight: 600;
}

/* 表单样式 */
.contact-form h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

button[type="submit"] {
    background: #6D94F7; /* 新的蓝色背景 */
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(109, 148, 247, 0.4); /* 匹配新颜色的阴影 */
}

button[type="submit"]:hover {
    background: #5A7EDF; /* 悬停时稍深的蓝色 */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(109, 148, 247, 0.5); /* 悬停时阴影增强 */
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .contact-info {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 40px 20px;
    }
    
    .contact-method span {
        font-size: 1.1rem;
    }

}